# == Schema Information
# Schema version: 33
#
# Table name: tipo_regalos
#
#  id          :integer(11)   not null, primary key
#  nombre      :string(255)   
#  imagen      :string(255)   
#  descripcion :text          
#  created_at  :datetime      
#  updated_at  :datetime      
#

class TipoRegalo < ActiveRecord::Base
  has_many :regalos
  
  validates_presence_of :descripcion, :nombre, :imagen
  
  image_column :imagen, :versions => { :large => "120x120",
                                       :medium => "75x75", 
                                       :medium_little => "66x66",
                                       :little => "50x50" }
end
